<h:form xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:rich="http://richfaces.org/rich"
    xmlns:a4j="http://richfaces.org/a4j">

    <rich:panel>
        <h:panelGrid columns="2">
            <f:facet name="header">Summary</f:facet>

            <h:outputText value="Name" />
            <h:outputText value="#{wizardBean.name}" />

            <h:outputText value="Email:" />
            <h:outputText value="#{wizardBean.email}" />

            <h:outputText value="Drink ordered:" />
            <h:outputText value="#{wizardBean.drink}" />

           
            <h:outputText value="Comments:" />
            <h:outputText value="#{wizardBean.comments}" escape="false"/>

        </h:panelGrid>
        <h:panelGrid columns="2">
            <a4j:commandButton value="Wait.. Go back" action="prev" />
            <a4j:commandButton value="Place Order"
                        action="#{wizardBean.save}"
                        oncomplete="#{rich:component('wizard')}.hide()"
                        reRender="orders, wizard"/>
        </h:panelGrid>
    </rich:panel>
</h:form>